package cn.mooncode.basketballManage.service;

import cn.mooncode.basketballManage.pojo.Playerinfo;
import cn.mooncode.basketballManage.pojo.RespBean;
import cn.mooncode.basketballManage.pojo.RespPageBean;
import cn.mooncode.basketballManage.pojo.ScoreParam;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jwz
 * @since 2021-03-28
 */
public interface IPlayerinfoService extends IService<Playerinfo> {


    /**
     * 查看所有球员信息
     * @param currentPage
     * @param size
     * @param playerinfo
     * @return
     */
    RespPageBean getAllPlayerInfo(Integer currentPage, Integer size, Playerinfo playerinfo);

    /**
     * 获取当前球员信息
     * @param id
     * @return
     */
    Playerinfo getCurrentPlayerInfo(Integer id);

    /**
     * 修改球员成绩
     * @param scoreParam
     * @return
     */
    RespBean updateScores(ScoreParam scoreParam);
}
